<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<title><?php echo $this->pageTitle; ?></title>
	<link rel="stylesheet" type="text/css" href="css/reset.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="css/grid.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="css/form.css" media="screen" />
	<link rel="stylesheet" type="text/css" href="css/main.css" media="screen" />
</head>
<body>
<div class="container_24">
	<div id="header">
	<div id="header-logo"><?php echo Yii::app()->name; ?></div>
	<div id="header-tagline"><?php echo Yii::app()->tagline; ?></div>
	</div>
	<div class="clear"></div>
	<div id="navbar">
	<?php
	$this->widget('application.widgets.NavBar',array(
		'items' => array(
			array('label' => 'About', 'url' => array('/site/about')),
			array('label' => 'Home', 'url' => Yii::app()->getBaseUrl(TRUE)),
		),
		'tryDefault' => FALSE,
	));
	?>
	</div>
	<div class="clear"></div>


	<div id="main">
		<?php echo $content; ?>
	</div>


	<div class="clear"></div>
	<div id="footer"><?php echo Yii::app()->footer;?> | <?php
		Yii::import('application.helpers.ExtUnits');
		echo ExtUnits::humanBytes(memory_get_usage()),' peak: ', ExtUnits::humanBytes(memory_get_peak_usage());
	?></div>
</div>
</body>
</html>
